$(function(){
    setInterval(() => {
        let d = new Date()
        let time = `
        ${String(d.getFullYear()).padStart(2,0)}年
        ${String(d.getMonth() + 1).padStart(2,0)}月
        ${String(d.getDate()).padStart(2,0)}日
        ${String(d.getHours()).padStart(2,0)}时
        ${String(d.getMinutes()).padStart(2,0)}分
        ${String(d.getSeconds()).padStart(2,0)}秒
        `
        $('header span').text(time)
    },1000)
})